USAGE: xsgll infile outimg [-t] [-w] [-a ang_thresh][-p ovlp_thresh]
[-d d_max] [-m] [-o] [-c] [-h] [-L]
xsgll constructs segm adj lists (SAL) and segment group lists (SGL)
given an input file containing line segment data; writes output
data into file and creates image containing line segment clusters
ARGUMENTS:
infile: input filename
(.seg) (ASCII)
outimg: output image
filename (TIF)
OPTIONS:
-t: employ test data in test_segm.c
-w: write sgl parameters and stats to file fn.sgl
-a angl_thresh: set angle threshold - default: 10 deg
-p ovlp_thresh: set ovlp_thresh (0 <= pij <= 100) - default:
50
-d d_max: set maximum dist between
segments - default: 50 pixels
-m: do not merge segments after SGL constr
-o: overlay topological features onto image
-c: display segment clusters
-h: do not display conv hull, only orig. polygon
-L: print Software License for this module
Example:
xsgll magstrpTHfit.seg magstrpTHfit.tif
magstrpTHfit.seg:
753 512 480
0 8 8 20 10
0.17 0
1 20 10 37 3
-0.41 0
2 93 3 124 42
1.26 1
3 124 42 149 45 0.12
1
4 149 45 176 3 -1.56
1
5 105 3 129 30
1.13 2
6 129 30 146 31 0.06
2
7 146 31 163 3 -1.65
2
8 117 3 136 20
0.89 3
9 136 20 146 10 -1.00
3
10 146 10 150 3 -1.75
3
11 128 3 137 3
0.00 4
12 137 3 138 3
0.00 4
13 244 475 233 460 1.36 5
14 233 460 243 387 -7.30 5
15 243 387 264 373 -0.67 5
16 264 373 292 354 -0.68 5
17 292 354 293 300 -54.00 5
18 293 300 266 283 0.63 5
etc...
magstrpTHfit.tif:
running combine magstrpTH.tif magstrpTHfit.tif magstrpC.tif:
Copyright (C) 1999 MLMSoftware Group, LLC.